home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PCMania 39
/
PCMania CD39_2.iso
/
ar2demo
/
accuspan.inf
< prev
next >
Wrap
INI File
|
1995-11-22
|
15KB
|
486 lines
;;Modified 8/25/93 SD
Do Setup
;; Source directory, used to check version
[Dir10] := [InstallFromDirectory]
[String10] := 2.1
;;QueFiles to [Dir10] Thermometer NoInterruption Quietly NoInsertionPrompt
;; *.ver
;;EndQueFiles
;;GetQuedFiles NoThermometer Quietly
If FileExists [Dir10]\product.ver ;;(
Dialog
.cA punto de instalar AccuRender 2.
.cRenderizado y animación por ray-tracing
.cpara AutoCAD Release 12 y 13.
.c
.cVersión [String10]
EndDialog
Else
If FileExists [Dir10]\educ.ver ;;(
Dialog
.cA punto de instalar AccuRender 2 Educación.
.cRenderizado y animación por ray-tracing
.cpara AutoCAD Release 12 y 13.
.c
.cVersión educativa [String10]
EndDialog
Else
If FileExists [Dir10]\eval.ver ;;(
Dialog
.cA punto de instalar AccuRender 2 Evaluación.
.cRenderizado y animación por ray-tracing
.cpara AutoCAD Release 12 y 13.
.c
.cVersión evaluación [String10]
EndDialog
Else
If FileExists [Dir10]\update.ver ;;(
Dialog
.cA punto de instalar AccuRender 2 Renovación.
.cRenderizado y animación por ray-tracing
.cpara AutoCAD Release 12 y 13.
.c
.cRenovación versión [String10]
EndDialog
Else
Dialog
.cA punto de instalar AccuRender 2 Demostración.
.cRenderizado y animación por ray-tracing
.cpara AutoCAD Release 12 y 13.
.c
.cVersión Demostración [String10]
EndDialog
EndIf ;;)
EndIf ;;)
EndIf ;;)
EndIf ;;)
Do Install
If FileExists [InstallationDirectory]\Demo.ver ;;(
Dialog
.cInstalación de AccuRender 2 Demo terminada.
.c
.cConsulte el capítulo "Conceptos básicos" del manual de AccuRender 2 Demo
.csobre instrucciones para cargar y ejecutar la versión Demostración.
.cPara adquirir AccuRender 2,
.ccomplete el formulario adjunto,
.co contacte con su distribuidor local de AccuRender.
EndDialog
Else
Do PGPfile
If FileExists [InstallationDirectory]\lock.ver ;;(
Dialog
.cInstalación de AccuRender terminada.
.cAsegúrese de que el dispositivo de protección está firmemente
.cconectado al puerto paralelo de su ordenados.
.cConsulte el capítulo "Conceptos básicos" del manual de AccuRender 2
.csobre instrucciones para cargar y ejecutar AccuRender.
.c****** Usuarios de AccuRender 1.1 *******
.cAsegúrese de cargar el nuevo fichero ejecutable de AccuRender 2:
.c
.cAccuRender 2 se instala en el directorio ACCUREN2 directory.
.cAccuRender 1.1 aún puede estar instalado en su ordenador.
.c
.cVerifique que el archivo que se carga en el letrero de diálogo
.c"Carga de Aplicaciones" es el ejecutable de AccuRender del
.cdirectorio ACCUREN2.
.c*******************************************
AccuRender
(c) 1993-94 Roy Hirshkowitz.
AccuRender es marca registrada de Robert McNeel and Associates.
AutoCAD es marca registrada de Autodesk, Inc.
EndDialog
Else
Dialog
.cInstalación de AccuRender terminada.
.c
.cConsulte el capítulo "Conceptos básicos" del manual de AccuRender 2
.csobre instrucciones para cargar y ejecutar AccuRender.
.c****** Usuarios de AccuRender 1.1 *******
.cAsegúrese de cargar el nuevo fichero ejecutable de AccuRender 2:
.c
.cAccuRender 2 se instala en el directorio ACCUREN2 directory.
.cAccuRender 1.1 aún puede estar instalado en su ordenador.
.c
.cVerifique que el archivo que se carga en el letrero de diálogo
.c"Carga de Aplicaciones" es el ejecutable de AccuRender del
.cdirectorio ACCUREN2.
.c*******************************************
AccuRender
(c) 1993-94 Roy Hirshkowitz.
AccuRender es marca registrada de Robert McNeel and Associates.
AutoCAD es marca registrada de Autodesk, Inc.
EndDialog
EndIf
EndIf
;;----------------------------------------------------------------------------
Procedure Install
DetermineInstallationDrive ;;RequireFixed ;;;QueSize
If FileExists [Dir10]\Demo.ver ;;(
DetermineInstallationDirectory InstallationDrive:\ar2demo QueSize RequireFixed
Else
DetermineInstallationDirectory InstallationDrive:\accuren2 QueSize RequireFixed
EndIf ;;)
If FileExists [InstallationDirectory]\Accurend.mlb ;;(
Dialog [YesOrNo1]
.cYa existe el directorio [InstallationDirectory].
.cEl archivo ACCUREND.MLB se renombrará como ACCUOLD.MLB.
.cTodos los archivos restantes en [InstallationDirectory] serán borrados.
.c
.cSi dispone de archivos personalizados en [InstallationDirectory],
.c pare ahora y cópielos a un lugar seguro.
.c
.c¿Desea continuar con la instalación?
EndDialog
If [YesOrNo1] = N ;;(
Exit
Else
If FileExists [InstallationDirectory]\ACCUREND.MLB ;;(
If FileExists [InstallationDirectory]\ACCUOLD.MLB ;;(
DeleteFiles from [InstallationDirectory] Quietly
ACCUOLD.MLB
EndDeleteFiles
EndIf
RenameFile [InstallationDirectory]\ACCUREND.MLB to ACCUOLD.MLB
EndIf ;;)
If FileExists [InstallationDirectory]\*.MDX ;;(
DeleteFiles from [InstallationDirectory] Quietly
*.MDX
EndDeleteFiles
EndIf ;;)
If FileExists [InstallationDirectory]\*.PLX ;;(
DeleteFiles from [InstallationDirectory] Quietly
*.PLX
EndDeleteFiles
EndIf ;;)
If FileExists [InstallationDirectory]\ACCUREND.LSP ;;(
DeleteFiles from [InstallationDirectory] Quietly
ACCUREND.LSP
EndDeleteFiles
EndIf ;;)
EndIf ;;)
Else
CreateDirectoryifNecessary [InstallationDirectory]
EndIf ;;)
;;Decide the platforms to install and set platform variables
QueFileGroup 1 ;;Files for DOS platforms
QueFileGroup 2 ;;Files for Windows platforms
QueFileGroup 3 ;;Common Files for both platforms
;;ask if you want the all materials or a shortened version
If FileExists [Dir10]\Demo.ver ;;(
QueFileGroup 4
Else
GetMenuChoice
Instalar todos los materiales
;Opción por defecto:
;Instala más de 350 materiales para usar con AccuRender.
;Se requieren 14 MB libres de disco duro.
Instalar lista limitada de materiales
;Segunda Opción:
;Instala 80 materiales para usar con AccuRender.
;Se requieren 4 MB libres de disco duro.
EndGetMenuChoice
;;Process answer
InCase Choice is
= 1: QueFileGroup 5 ;;Large Materials File
= 2: QueFileGroup 4 ;;Short Materials File
EndInCase
EndIf ;;)
GetQuedFiles
;;AccuRender order form, demo version only.
If FileExists [InstallFromDrive]:\order.frm ;;(
CopyFiles from [InstallFromDrive]:\ to [InstallationDirectory] Quietly
order.frm
EndCopyFiles
EndIf ;;)
If FileExists [InstallationDirectory]\*.mdx ;;(
DeleteFiles from [InstallationDirectory] Quietly
*.mdx
EndDeleteFiles
Endif ;;)
If FileExists [InstallationDirectory]\*.plx ;;(
DeleteFiles from [InstallationDirectory] Quietly
*.plx
EndDeleteFiles
Endif ;;)
;;Modify the ACCUREND.ini file
If FileExists [InstallationDirectory]\ACCUREND.INI ;;(
ExamineTextFile [InstallationDirectory]\ACCUREND.INI
[Number1] := LineNumberWith (MAPPATH,=,)
[String1] := LineWith (MAPPATH,=,)
ForgetTextFile
[Number11] := 0
[String6] := [InstallationDirectory]
If [String1] <> BlankString ;;( There is a SET MAPPATH line
;;{
[YesOrNo4] := Y
[Number3] := LengthOf [String1]
[Number4] := PositionOf = in [String1]
IncrementNumber [Number4]
IncrementNumber [Number4]
;; Get environment string for MAPPATH= (string 3)
;; If number4 is greater than string length, mappath =
If [Number4] < [Number3] ;;(
[String3] := SubstringOf [String1] from [Number4] to [Number3]
Else
[String3] := $empty$
EndIf ;;)
[Number3] := LengthOf [String3] ;; Length of MAPPATH= after the =
If [String3] Contains [String6] ;;( SET MAPPATH line contains current Accurend= string
[String9] := N
Else
;; mappath =
If [String3] = $empty$ ;;(
[String9] := mappath=[InstallationDirectory];
Else ;; mappath has a value append it
[String9] := mappath=[InstallationDirectory];[String3]
EndIf ;;)
EndIf ;;)
EndIf ;;)
If [String9] <> N ;;(
ModifyTextFile [InstallationDirectory]\ACCUREND.INI Quietly NoBackup
AddOrChangeLineWith (MAPPATH,=,) As "[String9]" At Beginning
EndModifyTextFile
EndIf ;;)
EndIf ;;)
EndProcedure
;;----------------------------------------------------------------------------
Procedure PGPfile
GetMenuChoice ;; @xy(Center,9)
Modicar archivo ACAD.PGP
; Se modifica el archivo ACAD.PGP para instalar las
; órdenes de inicio de AccuRender's. Esta es la mejor opción.
Crear archivo ACCUREND.PGP
; Crea un archivo de ejemplo ACCUREND.PGP en el directorio
; de AccuRender.
Salir
; Ignora los cambios, AccuRender no funcionará correctamente
;
;
EndGetMenuChoice
;;Process answer
InCase Choice is
= 1:
Do SetEnv
= 2:
Do MakePGPFile
EndInCase
EndProcedure
;;----------------------------------------------------------------------------
Procedure SetEnv
[String11] := N
[String12] := N
GetMenuChoice
¿Dispone de AutoCAD para Windows?
;Usar en caso de disponer solamente de AutoCAD para Windows.
¿Dispone de AutoCAD para DOS?
;Usar en caso de disponer solamente de AutoCAD para DOS.
¿Dispone de AutoCAD para Windows y DOS?
;Usar si dispone de ambas versiones.
EndGetMenuChoice
;;Process answer
InCase Choice is
= 1:
[String11] := Y
= 2:
[String12] := Y
= 3:
[String11] := Y
[String12] := Y
EndInCase
[Point2]
If [String11] = Y ;;(
[Dir1] := C:\ACADWIN\SUPPORT
Dialog [Dir1] 44
.cIndicar el lugar donde está
.cel archivo PGP de AutoCAD para Windows,
.cpara poder modificarlo.
.cNormalmente el archivo ACAD.PGP está
.cen el directorio de soporte de AutoCAD,
.co en el directorio con el archivo
.cde menú.
Ruta de AutoCAD:
EndDialog
[String4] := [Dir1]\ACAD.PGP ...
[YesOrNo3] := N
[String13] := playflc,c:\command.com /c [InstallationDirectory]\dfv,0,*Flic File: ,0
If FileExists [Dir1]\ACAD.PGP ;; Check for Release 12 support file ;;(
ModifyTextFile [Dir1]\ACAD.PGP
AddOrChangeLineWith (playflc,c,) as "[String13]" at beginning
AddOrChangeLineWith (si,*ar$_save,) as "si, *ar_save" at beginning
AddOrChangeLineWith (library,*ar$_library,) as "library, *ar$_library" at beginning
AddOrChangeLineWith (mat,*ar$_material,) as "mat, *ar$_material" at beginning
AddOrChangeLineWith (lights,*ar$_lights,) as "lights, *ar$_lights" at beginning
AddOrChangeLineWith (setup,*ar$_setup,) as "setup, *ar$_setup" at beginning
AddOrChangeLineWith (env,*ar$_env,) as "env, *ar$_env" at beginning
AddOrChangeLineWith (tr,*ar$_tr_entire,) as "tr, *ar$_tr_entire" at beginning
AddOrChangeLineWith (trss,*ar$_tr_ss,) as "trss, *ar$_tr_ss" at beginning
AddOrChangeLineWith (rt,*ar$_render_entire,) as "rt, *ar$_render_entire" at beginning
AddOrChangeLineWith (rtw,*ar$_render_window,) as "rtw, *ar$_render_window" at beginning
AddOrChangeLineWith (quick,*ar$_quick,) as "quick, *ar$_quick" at beginning
AddOrChangeLineWith (;AccuRender,command,line,shortcuts.,) as ";AccuRender command line shortcuts." at beginning
EndModifyTextFile
ELSE
[String4] := [Dir1]\ACAD.PGP...
Dialog [YesOrNo3]
.cNo se encuentra [String4].
.cAsegurarse de que el directorio indicado
.ccontiene un archivo ACAD.PGP
.c¿Intentar de nuevo?
EndDialog
ENDIF ;;)
If [YesOrNo3] = Y ;;(
Goto [Point2]
EndIf ;;)
EndIf ;;)
[Point3]
If [String12] = Y ;;(
[Dir1] := C:\ACAD\SUPPORT
Dialog [Dir1] 44
.cIndicar el lugar donde está
.cel archivo PGP de AutoCAD para Windows,
.cpara poder modificarlo.
.cNormalmente el archivo ACAD.PGP está
.cen el directorio de soporte de AutoCAD,
.co en el directorio con el archivo
.cde menú.
Ruta de AutoCAD:
EndDialog
[String4] := [Dir1]\ACAD.PGP ...
[YesOrNo3] := N
[String13] := playflc,c:\command.com /c [InstallationDirectory]\dfv,0,*Flic File: ,0
If FileExists [Dir1]\ACAD.PGP ;; Check for Release 12 support file ;;(
ModifyTextFile [Dir1]\ACAD.PGP
AddOrChangeLineWith (playflc,c,) as "[String13]" at beginning
AddOrChangeLineWith (si,*ar$_save,) as "si, *ar_save" at beginning
AddOrChangeLineWith (library,*ar$_library,) as "library, *ar$_library" at beginning
AddOrChangeLineWith (mat,*ar$_material,) as "mat, *ar$_material" at beginning
AddOrChangeLineWith (lights,*ar$_lights,) as "lights, *ar$_lights" at beginning
AddOrChangeLineWith (setup,*ar$_setup,) as "setup, *ar$_setup" at beginning
AddOrChangeLineWith (env,*ar$_env,) as "env, *ar$_env" at beginning
AddOrChangeLineWith (tr,*ar$_tr_entire,) as "tr, *ar$_tr_entire" at beginning
AddOrChangeLineWith (trss,*ar$_tr_ss,) as "trss, *ar$_tr_ss" at beginning
AddOrChangeLineWith (rt,*ar$_render_entire,) as "rt, *ar$_render_entire" at beginning
AddOrChangeLineWith (rtw,*ar$_render_window,) as "rtw, *ar$_render_window" at beginning
AddOrChangeLineWith (quick,*ar$_quick,) as "quick, *ar$_quick" at beginning
AddOrChangeLineWith (;AccuRender,command,line,shortcuts.,) as ";AccuRender command line shortcuts." at beginning
EndModifyTextFile
ELSE
[String4] := [Dir1]\ACAD.PGP...
Dialog [YesOrNo3]
.cNo se encuentra [String4].
.cAsegurarse de que el directorio indicado
.ccontiene un archivo ACAD.PGP
.c¿Intentar de nuevo?
EndDialog
ENDIF ;;)
If [YesOrNo3] = Y ;;(
Goto [Point3]
EndIf ;;)
EndIf ;;)
EndProcedure
;;----------------------------------------------------------------------------
Procedure MakePGPFile
AppendFile [InstallationDirectory]\ACCUREND.PGP
;AccuRender command line shortcuts.
si, *ar$_save
library, *ar$_library
mat, *ar$_material
lights, *ar$_lights
setup, *ar$_setup
env, *ar$_env
tr, *ar$_tr_entire
trss, *ar$_tr_ss
rt, *ar$_render_entire
rtw, *ar$_render_window
quick, *ar$_quick
EndAppendFile
EndProcedure
;;----------------------------------------------------------------------------
Procedure abort
Dialog
.cAccurender may not run properly,
EndDialog
EndProcedure
;;----------------------------------------------------------------------------
Procedure Setup ;;{
If Windows
SetBackgroundCharTo B0
SetShadowAttrTo LightGrayOnDarkGray
SetScreenAttrTo WhiteOnBlue
SetPopupAttrTo WhiteOnBlue
SetDefaultBitmap off
SetTopLineTo " Robert McNeel and Associates, Seattle, WA "
ClearScreen
Else
SetBackgroundCharTo B0
SetShadowAttrTo LightGrayOnDarkGray
SetScreenAttrTo WhiteOnBlue
SetPopupAttrTo WhiteOnBlue
SetTopLineAttrTo WhiteONBlue
SetBottomLineAttrTo WhiteONBlue
SetTopLineTo " Robert McNeel and Associates, Seattle, WA "
;; SetBottomLineTo "Pulsar <Ctrl+X> para salir. Si necesita ayuda, consulte a su distribuidor "
ClearScreen
EndIf ;;)
EndProcedure ;;} Setup
;;----------------------------------------------------------------------------
EndScript